import request from '@/untils/request'

//用户注册
export const userRegisterService = (query) => {
    return request.post('/api/reg', query)
}
//用户登录
export const userLoginService = (query) => {
    return request.post('/api/login', query)
}
//获取用户基本信息
export const userGetInfoService = () => {
    return request.get('/my/userinfo')
}